package com.yt.generator.action.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 代码生成的查询参数
 *
 * @author mxli
 * @date 2017-11-30-下午2:05
 */
@Data
@ApiModel("代码生成对象")
public class GenQo {

    @ApiModelProperty("数据库账号")
    private String userName;

    @ApiModelProperty("数据库密码")
    private String password;

    @ApiModelProperty("数据库url")
    private String url;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("项目基础地址")
    private String projectBasePath;

    @ApiModelProperty("基础包名")
    private String packageBaseName;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("表名称")
    private String tableName;

    @ApiModelProperty("忽略的表前缀")
    private String ignoreTablePrefix;

    @ApiModelProperty("业务名称")
    private String bizName;

    @ApiModelProperty("模块名")
    private String moduleName;

    @ApiModelProperty("父级菜单名称")
    private String parentMenuName;

    @ApiModelProperty("生成实体的开关")
    private Boolean modelsSwitch = false;

    @ApiModelProperty("是否生成控制器代码开关")
    private Boolean controllerSwitch = false;

    @ApiModelProperty("service的开关")
    private Boolean serviceSwitch = false;

    @ApiModelProperty("mapper的开关")
    private Boolean mapperSwitch = false;


    @ApiModelProperty("生成sql的开关")
    private Boolean sqlSwitch = false;


}
